package com.future.service;

import com.future.domain.DTO.*;
import com.future.domain.Result;

public interface UserService {
    Result deleteAccount(UserLoginDTO dto);
    Result roleCertification(RoleCertificationDTO dto);

    Result getUserInfo(Long userId);


    Result updatePassword(PasswordDTO dto);

    public Result like(LikeDTO dto);

    public Result cancelLike(LikeDTO dto);

    Result getUserLikeList(LikeDTO dto, Integer pageNum, Integer pageSize);

    // 收藏相关方法
    Result collection(CollectionDTO dto);
    Result cancelCollection(CollectionDTO dto);
    Result getUserCollectionList(CollectionDTO dto, Integer pageNum, Integer pageSize);

    Result joinClass(StudentClassAuthenticationDTO dto);

    Result getStudentClass( Integer pageNum, Integer pageSize);

    Result cancelJoinClass();

    Result quitClass(StudentClassAuthenticationDTO dto);

    Result updateUser(UserDTO userDTO);

    Result getTotalCountReceived(Long userId);

    Result checkTargetType(Long targetId, Integer targetTypeId);
}
